package com.zrfintech.manage.vo;

import lombok.Data;

@Data
public class HttpResponse<T> {
    private int status;
    private T data;
    private String msg;
    private String exception;

    public HttpResponse(int status, T data, String msg) {
        this.status = status;
        this.data = data;
        this.msg = msg;
    }

    public HttpResponse(int status, T data, String msg, String exception) {
        this.status = status;
        this.data = data;
        this.msg = msg;
        this.exception = exception;
    }
}
